import request from '@/utils/request'

// 首页活动详情
export function getActiveInfo(activeId) {
  return request({
    url: `/system/acddActivity/getInfo/${activeId}`,
    method: 'get'
  })
}

// 首页活动套餐列表
export function getTcList(activeId) {
  return request({
    url: `/system/acddActivity/getActivityServeInfo/${activeId}`,
    method: 'get'
  })
}


// 首页活动店铺详情
export function getShopInfo(activeId) {
  return request({
    url: `/system/acddActivity/getActivityShop/${activeId}`,
    method: 'get'
  })
}

// 首页活动订单列表
export function getOrderList(activeId, params) {
  return request({
    url: `/system/acddActivity/getActivityOrder/${activeId}`,
    method: 'get',
    params
  })
}


// 首页活动团购配置
export function getGroupBuying(activeId) {
  return request({
    url: `/system/acddActivity/getActivityroupBuying/${activeId}`,
    method: 'get'
  })
}
